package com.mwm.paiwei.meiye.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by companycn on 2017/6/12.
 */

public class LoginBean implements Serializable{
    /**
     * data : {"userCount":2,"userTokens":[{"token":"eaf85efd59c04b0482581cae55bac30f","userId":11,"userType":4,"userTypeName":"店长"},{"token":"5773d079067b41eca3d03ea44911bab8","userId":70,"userType":6,"userTypeName":"美容师"}]}
     * result : 1
     * msg : 登录成功
     * currentPage : 0
     * totalPage : 0
     */

    private DataBean data;
    private int result;
    private String msg;
    private int currentPage;
    private int totalPage;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public static class DataBean implements Serializable{
        /**
         * userCount : 2
         * userTokens : [{"token":"eaf85efd59c04b0482581cae55bac30f","userId":11,"userType":4,"userTypeName":"店长"},{"token":"5773d079067b41eca3d03ea44911bab8","userId":70,"userType":6,"userTypeName":"美容师"}]
         */

        private int userCount;
        private List<UserTokensBean> userTokens;

        public int getUserCount() {
            return userCount;
        }

        public void setUserCount(int userCount) {
            this.userCount = userCount;
        }

        public List<UserTokensBean> getUserTokens() {
            return userTokens;
        }

        public void setUserTokens(List<UserTokensBean> userTokens) {
            this.userTokens = userTokens;
        }

        public static class UserTokensBean implements Serializable{
            /**
             * token : eaf85efd59c04b0482581cae55bac30f
             * userId : 11
             * userType : 4
             * userTypeName : 店长
             */

            private String token;
            private int userId;
            private int userType;
            private String userTypeName;

            public String getToken() {
                return token;
            }

            public void setToken(String token) {
                this.token = token;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public int getUserType() {
                return userType;
            }

            public void setUserType(int userType) {
                this.userType = userType;
            }

            public String getUserTypeName() {
                return userTypeName;
            }

            public void setUserTypeName(String userTypeName) {
                this.userTypeName = userTypeName;
            }
        }
    }
}
